import request from '@/utils/request'

export function listDeliveryNotice(query) {
  return request({
    url: '/delivery/notice/list',
    method: 'get',
    params: query
  })
}

export function createDeliveryNotice(data) {
  return request({
    url: '/delivery/notice/create',
    method: 'post',
    data
  })
}

export function updateDeliveryNotice(data) {
  return request({
    url: '/delivery/notice/update',
    method: 'post',
    data
  })
}

export function deleteDeliveryNotice(data) {
  return request({
    url: '/delivery/notice/delete',
    method: 'post',
    data
  })
}
